package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;
import com.itheima.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @author 林道样
 * @date 2020-03-05 15:20
 */
public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member);

    List<Integer> findMemberCountByMonths(List<String> months);

    PageResult findPage(QueryPageBean queryPageBean) throws Exception;

    List<User> findAll();

    void addMember(Member member);


    Member findById(Integer id);

    void edit(Member member);

    void delete(Integer id);

    List<Map<String, Object>> getMemberReportData(Integer[] memberIds);
}
